using System;
using System.Threading;

namespace Xfs
{
    public class XfsMoveComponent : XfsComponent
    {
        public Vector3 Target;

        /// 开启移动协程的时间
        public long StartTime;

        /// 开启移动协程的Unit的位置
        public Vector3 StartPos;

        public long needTime;

        /// 当前的移动速度
        public float Speed = 5;
        public CancellationTokenSource? CancellationTokenSource { get; set; }


    }
}